package com.ruoyi.yljf.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BasePlusEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 课程目录对象 yljf_course_package
 * 
 * @author metaee
 * @date 2025-03-06
 */
@Data
@TableName(value = "yljf_course_package")
public class CoursePackage {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /** 主键id */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 课程章节名 */
    @Excel(name = "课程章节名")
    private String name;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 课程id */
    @Excel(name = "课程id")
    private Long courseId;

    /** 文件地址 */
    @Excel(name = "文件地址")
    private String filePath;

    /** 文件时长 */
    @Excel(name = "文件时长")
    private String fileDuration;

    /** video/audio */
    @Excel(name = "video/audio")
    private String type;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sort;

    /** 章节数 */
    @Excel(name = "章节数")
    private String sections;

    /** 练习题数 */
    @Excel(name = "练习题数")
    private Long practiceCount;

    /** 点播id */
    @Excel(name = "点播id")
    private String dibberId;

    /** 缩略图 */
    @Excel(name = "缩略图")
    private String imgUrl;

}
